package test

import (
	"goStudy/elasticsearch/code"
	"log"
)

var (
	Elastic *code.Elastic
	err     error
)

func init() {
	if Elastic, err = code.NewElastic("http://localhost:9200"); err != nil {
		log.Println(err)
	}
}
